<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />


<div class="t_bar">
    资金概算（万元）
</div>

<table class="t_css" width="100%" border="0" cellpadding="0"
    cellspacing="1" id="fundInfo_from">
    <tr class="t_tr">
        <td align="center" width="25%" rowspan="2">资金来源概算</td>
        <td class="TblHead" align="center" width="15%" rowspan="2">概算金额</td>
        <td class="TblHead" align="center" width="60%"  colspan="3">其中</td>
    </tr>
    <tr>
        <td class="TblHead" align="center" ><x:out select="$xmlData/data/budget/select_yea1"/>年</td>
        <td class="TblHead" align="center" ><x:out select="$xmlData/data/budget/select_yea2"/>年</td>
        <td class="TblHead" align="center" ><x:out select="$xmlData/data/budget/select_yea3"/>年</td>
    </tr>
    <tr>
        <td align="left">1、省财政拨款</td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='00']/total_each"/>
        </td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='00']/total_invest_yea1" />
        </td>
        <td align="center">
           <x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='00']/total_invest_yea2" />
        </td>
        <td align="center">
           <x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='00']/total_invest_yea3" />
        </td>
    </tr>
    <tr>
        <td align="left">2、市（县）财政拨款</td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='01']/total_each"/>
        </td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='01']/total_invest_yea1" />
        </td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='01']/total_invest_yea2" />
        </td>
        <td align="center">
           <x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='01']/total_invest_yea3" />
        </td>
    </tr>
    <tr>
        <td align="left">3、单位自筹经费</td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='02']/total_each"/>
        </td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='02']/total_invest_yea1" />
        </td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='02']/total_invest_yea2" />
        </td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='02']/total_invest_yea3" />
        </td>
    </tr>
    <tr>
        <td align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;其中：银行贷款</td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='03']/total_each"/>
        </td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='03']/total_invest_yea1" />
        </td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='03']/total_invest_yea2" />
        </td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='03']/total_invest_yea3" />
        </td>
    </tr>
    <tr>
        <td align="left">4、其它经费来源</td>
        <td align="center">
           <x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='04']/total_each"/>
        </td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='04']/total_invest_yea1" />
        </td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='04']/total_invest_yea2" />
        </td>
        <td align="center">
         	<x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='04']/total_invest_yea3" />
        </td>
    </tr>
    <tr>
        <td align="center"><strong>来源合计</strong></td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='05']/total_investfrom" />
        </td>
        <td align="center">
           <x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='05']/total_invest_yea1" />
        </td>
        <td align="center">
           <x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='05']/total_invest_yea2" />
        </td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail_from/invest[@invest_code='05']/total_invest_yea3" />
        </td>
    </tr>
</table>    

<table class="t_css" width="100%" border="0" cellpadding="0"
    cellspacing="1" id="fundInfo">
    <tr class="t_tr">
        <td align="center" width="25%">资金支出概算</td>
        <td class="TblHead" align="center" width="20%">概算金额</td>
         <td class="TblHead" align="center" width="20%">其中：省财政拨款</td>
         <td class="TblHead" align="center"width="35%">备注</td>  
    </tr>
    <tr >
        <td align="left" style=""><strong>一、直接费用</strong></td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='00']/total_invest" />
        </td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='00']/total_fund" />
        </td>
        <td align="left">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='00']/total_allot" />
        </td>
    </tr>
    <tr >
        <td align="left" style="padding-left:20px">1、设备费</td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='01']/total_invest" />
        </td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='01']/total_fund" />
        </td>
        <td align="left">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='01']/total_allot" />
        </td>
    
    </tr>
    <tr >
        <td align="left" style="padding-left:40px">（1）购置设备费</td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='02']/total_invest" />
        </td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='02']/total_fund" />
        </td>
        <td align="left">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='02']/total_allot" />
        </td>
    </tr>
    <tr >
        <td align="left" style="padding-left:40px">（2）自制设备费</td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='03']/total_invest" />
        </td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='03']/total_fund" />
        </td>
        <td align="left">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='03']/total_allot" />
        </td>
    </tr>
    <tr >
        <td align="left" style="padding-left:40px">（3）设备改造与租赁</td>
        <td align="center">
           <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='04']/total_invest" />
        </td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='04']/total_fund" />
        </td>
        <td align="left">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='04']/total_allot" />
        </td>
    </tr>
    <tr >
        <td align="left" style="padding-left:20px">2、材料费</td>
        <td align="center">
           <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='05']/total_invest" />
        </td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='05']/total_fund" />
        </td>
        <td align="left">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='05']/total_allot" />
        </td>
    </tr>
    <tr >
        <td align="left" style="padding-left:20px">3、测试化验加工费</td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='06']/total_invest" />
        </td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='06']/total_fund" />
        </td>
        <td align="left">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='06']/total_allot" />
        </td>
    </tr>
    <tr >
        <td align="left" style="padding-left:20px">4、燃料动力费</td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='07']/total_invest" />
        </td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='07']/total_fund" />
        </td>
        <td align="left">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='07']/total_allot" />
        </td>
    </tr>
    <tr >
        <td align="left" style="padding-left:20px">5、差旅费/会议费/国际合作与交流费</td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='08']/total_invest" />
        </td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='08']/total_fund" />
        </td>
        <td align="left">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='08']/total_allot" />
        </td>
    </tr>
 
        <td align="left" style="padding-left:20px">6、信息费（出版/文献/信息传播<br/>&nbsp;&nbsp;&nbsp;&nbsp;/知识产权事物费等）</td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='11']/total_invest" />
        </td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='11']/total_fund" />
        </td>
        <td align="left">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='11']/total_allot" />
        </td>
    </tr>
    
    
    <tr >
        <td align="left" style="padding-left:20px">7、专家咨询费</td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='12']/total_invest" />
        </td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='12']/total_fund" />
        </td>
        <td align="left">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='12']/total_allot" />
        </td>
    </tr>
    
    <tr >
        <td align="left" style="padding-left:20px">8、劳务费</td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='13']/total_invest" />
        </td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='13']/total_fund" />
        </td>
        <td align="left">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='13']/total_allot" />
        </td>
    </tr>
    
    <tr >
        <td align="left" style="padding-left:20px">9、其他支出</td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='14']/total_invest" />
        </td>
        <td align="center">
           <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='14']/total_fund" />
        </td>
        <td align="left">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='14']/total_allot" />
        </td>
    </tr>
    
    <tr >
        <td align="left" style=""><strong>二、间接费用</strong></td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='15']/total_invest" />
        </td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='15']/total_fund" />
        </td>
        <td align="left">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='15']/total_allot" />
        </td>
    </tr>
    <tr >
        <td align="left" style="padding-left:20px">1、管理费</td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='16']/total_invest" />
        </td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='16']/total_fund" />
        </td>
        <td align="left">
           <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='16']/total_allot" />
        </td>
    </tr>
    
    <tr >
        <td align="left" style="padding-left:20px">2、绩效支出</td>
        <td align="center">
           <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='17']/total_invest" />
        </td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='17']/total_fund" />
        </td>
        <td align="left">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='17']/total_allot" />
        </td>
    </tr>
    
    
    
    
      <tr >
        <td align="left" style="padding-left:20px">3、其他</td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='19']/total_invest" />
        </td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='19']/total_fund" />
        </td>
        <td align="left">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='19']/total_allot" />
        </td>
    </tr>
    
    <tr >
        <td align="center" ><strong>支出合计</strong></td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='18']/total_invest" />
        </td>
        <td align="center">
            <x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='18']/total_fund" />
        </td>
        <td align="left">
        	<x:out select="$xmlData/data/budget/invest_detail/invest[@invest_code='18']/total_allot" />
        </td>
    </tr>
</table>

<table  id="tblMileStones1" cellpadding="0" class="table01 t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
        <tr>
            <td width="45%">特别说明：（购置主要仪器设备须列出清单,以附件形式上传，上传文件格式为PDF格式） </td>
             <input type="hidden" name="contents/content[1]@seq_no" value="1">
			<input type="hidden" id="is_split" name="contents/content[1]/is_split" value="1" />
            <td  width="55%" align="center" style="WORD-WRAP: break-word">
                <c:set var="file_code"><x:out select="$xmlData/data/contents/content[@seq_no='1']/file_code" /></c:set>
                <div id="proof_content1" style=" float:left; width: 400px; " > 
                    <div  id="proof_file1" style="<c:if test="${empty file_code}">display:none;</c:if>">
                        <input type="hidden" id="file_code1" name="contents/content[1]/file_code"  value="<x:out select="$xmlData/data/contents/content[@seq_no='1']/file_code" />" />
                        <a id="file_url1" class="link_x" href="/egrantweb/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/contents/content[@seq_no='1']/file_code" />" style="cursor: pointer;"> <span name="contents/content[1]/file_name" id="file_name1" style="color: blue;"><x:out select="$xmlData/data/contents/content[@seq_no='1']/file_name" /></span></a>
                        (上传时间<span name="contents/content[1]/file_date" id="file_date1"><iris:xout select="$xmlData/data/contents/content[@seq_no='1']/file_date" /></span>)
                    </div>
                </div>
            </td>
        </tr>
    </table> 
